#pragma once

#include "Date.h"

class Interval
{
public:
	Interval(const string& startTime, const string& endTime);
	~Interval(void);
	bool isValid();
	bool isOverlap(const Interval& rhs);
	bool contains(const Interval& rhs);
	string getStartTime() const;
	string getEndTime() const;
private:
	Date start;
	Date end;
};

